﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using SP.Bank.DAL.EntityFramework;

namespace SP.Bank.UI.ConsoleTestBench
{
    class Program
    {
        static void Main(string[] args)
        {
            var fileName = @"C:\Users\Sebastien\Documents\Code\@Data\Nasdaq.csv";

            var query = from line in File.ReadAllLines(fileName)
                        let parts = line.Split('|')
                        select new Symbol()
                                   {
                                       Id = int.Parse(parts[0]),
                                       CompanyName = parts[1],
                                   };




            using (var db = new BankSystemDbEntities())
            {
                db.Symbols.a       
            }


        }
    }
}
